﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace ConsoleApp7
{
    class Program
    {
        //1、猫、狗、鸭、猴，（吃、游泳、爬树）

        static void Main(string[] args)
        {
            Cat cat = new Cat("猫");
            cat.Hello();
            cat.Skill();

            Console.WriteLine();

            Dog dog = new Dog("狗");
            dog.Hello();
            dog.Skill();

            Console.WriteLine();

            Duck duck = new Duck("鸭");
            duck.Hello();
            duck.Skill();

            Console.WriteLine();

            Monkey m = new Monkey("猴");
            m.Hello();
            m.Skill();
            Console.ReadKey();
        }
    }
}
